package leetcode.newVersion.array;

import java.util.Arrays;

public class sortTest {
    public static void main(String[] args) {
        int[][] arr = new int[][]{{4,7},{1,4},{3,9}};
        Arrays.sort(arr, (a, b) -> a[0] - b[0]);//自定义升序排序
        System.out.println(Arrays.deepToString(arr));
    }
}
